<?php
declare (strict_types = 1);

namespace app\api\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class UserModel extends Model
{
    public $table='ea_users';
    public static function getUserInfo($openid){
        return self::where('openid',$openid)->find();
    }
}
